import { http } from "@/utils/http";

// 1.负荷状态列表
export const getListLoadStateAPI = data => {
  return http.request("post", "/energy/supplyLoad/listLoadState", {
    data
  });
};

// 2.负荷率折线图
export const getBrokenLineDataAPI = data => {
  return http.request("post", "/energy/supplyLoad/brokenLineData", {
    data
  });
};

// 3.折线图下拉选项
export const getLineParameterAPI = data => {
  return http.request("post", "/energy/supplyLoad/lineParameter", {
    data
  });
};

// 4.供给负荷热力图
export const getHotPowerDiagramAPI = data => {
  return http.request("post", "/energy/supplyLoad/hotPowerDiagram", {
    data
  });
};
